#include "searcher.hpp"
#include<string>

const std::string input = "data/raw_html/raw.txt";
int main()
{
    ns_searcher::Searcher *search=new ns_searcher::Searcher();
    search->InitSearcher(input);
    string query;
    string json_string;
    while(true)
    {
        cout<<"Please Enter your searcher query";
        cin>>query;
       search->Search(query,&json_string);
       cout<<json_string<<endl;
    }
    return 0;
}
 